package com.jt.resource.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

//@Slf4j
@RestController

public class GatewayLogController {
    private static Logger log =
            LoggerFactory.getLogger(GatewayLogController.class);

    @GetMapping("/gateway/log/doLog01")
    public String doLog01(){
        System.out.println("==doLog01==");
        log.trace("===trace===");
        log.debug("===debug===");
        log.info("===info====");
        log.warn("===warn===");
        log.error("===error===");
        return "log config test";
    }
}
